﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Celestial Home - Extracting every detail of your dream</title>
    <link rel="Stylesheet" type="text/css" href="css/master.css" />
    <link rel="Stylesheet" type="text/css" href="css/forms.css" />
    <link rel="Stylesheet" type="text/css" href="css/login.css" />

    <script type="text/javascript" src="javascripts/helpers.js"></script>
    <script type="text/javascript" src="javascripts/login.js"></script>
    <script type="text/javascript">
        window.onload = function() {

            checkLogin();
      
            /* remember me? */
            var strEmail = getCookie("RememberMe");
            if (strEmail.length > 0) {
                document.getElementById("txtEmail").value = strEmail;
                document.getElementById("chkRememberMe").checked = true;
            } else {
                document.getElementById("txtEmail").vaule = "";
                document.getElementById("chkRememberMe").checked = false;
            }
        }
    </script>
</head>
<body>

<div id="divTitle">
    <div id="divCustMenu">
        <img src="images/user.png" alt="user" /><a id="aLogin" href="login.html">Login</a> |
        <img src="images/profile.png" alt="profile" /><a id="aProfile" href="particulars.html">My Profile</a> |
        <img src="images/cart.png" alt="cart" /><a href="construct.html">My Cart</a> | 
        <img src="images/checkout.png" alt="checkout" /><a href="construct.html">Checkout</a>
    </div><!--ends divCustmenu-->
    <div id="divWelcome"></div>
</div><!--ends divTitle-->

<!-- Navigation Bar - common for all pages -->
<div id="divNavBar">
    <ul id="ulNavBar">
        <li><img src="images/home.png" alt="home"/><a href="index.html"> Home</a></li>
        <li><img src="images/briefcase.png" alt="home"/><a href="about.html"> About Us</a></li>
        <li><img src="images/chair.png" alt="home"/><a href="construct.html"> Products</a>
            <ul>
                <li><a href="construct.html">Bed Room</a>
                    <ul>
                        <li><a href="construct.html">Beds</a></li>
                        <li><a href="construct.html">Wardrobes</a></li>
                    </ul>
                </li>
                <li><a href="construct.html">Dining Room</a>
                    <ul>
                        <li><a href="construct.html">Chairs</a></li>
                        <li><a href="construct.html">Dining Tables</a></li>
                        <li><a href="construct.html">Dining Table Sets</a></li>
                    </ul>
                </li>
                <li><a href="construct.html">Living Room</a>
                    <ul>
                        <li><a href="construct.html">Coffee Tables</a></li>
                        <li><a href="construct.html">Sofa</a></li>
                        <li><a href="construct.html">Sofa Sets</a></li>
                        <li><a href="construct.html">TV Cabinets</a></li>
                    </ul>
                </li>
                <li><a href="construct.html">Study Room</a>
                    <ul>
                        <li><a href="construct.html">Desks</a></li>
                        <li><a href="construct.html">Book Shelves</a></li>
                    </ul>
                </li>
            </ul>
        </li> <!--ends Products menu-->
        <li><img src="images/design.png" alt="home"/><a href="construct.html"> Design</a>
            <ul>
                <li><a href="construct.html">Wardrobe</a></li>
                <li><a href="construct.html">Home Theatre</a></li>
            </ul>
        </li> <!--ends design menu-->
        <li><img src="images/earth.png" alt="home"/><a href="construct.html"> Support</a>
            <ul>
                <li ><a href="contact.html">Contact Us</a></li>
                <li><a href="construct.html">Track Your Order</a></li>
            </ul>
        </li> <!--ends support menu-->
    </ul>  <!--ends navigation menu-->
</div> <!--ends navigation division--> 

<div id="divMain">
    <form method="post" action="#">
        <fieldset id="fsetLogin">
            <label>Email:</label>
            <input type="text" id="txtEmail" class="ipLong" name="txtEmail" size="30" maxlength="50" />
            <br />
            <label>Password:</label><input type="password" class="ipLong" name="txtPassword" id="txtPassword" size="31" maxlength="20" />
            <br />
            <input type="checkbox" id="chkRememberMe" name="chkRememberMe" />Remember Me
            <br />
            <input type="button" name="btnLogin" value="Log In" onclick="validateLogin()"/>
            <br />
            <div id="divError"></div>
            <a href="register.html">Register</a> 
            <a href="construct.html">Forgot Password</a><br />
        </fieldset>
    </form>
    <iframe src="about:blank" style="display:none"></iframe>
</div> <!-- ends divMain -->

<div id="divFooter">
    <div id="divFooterLeft">&#169 Copyright 2010 Celestial Home</div>
    <div id="divFooterRight"> Site Design by <a href="#" id="aDreamArchitect"><img src="images/dream.png" alt="Dream Architect"/></a></div>
    <div id="divFooterCenter"><img src="images/visa.gif" alt=""/><img src="images/paypal.png" alt="" /></div>
</div><!--ends divFooter-->

</body>
</html>
